package com.authine.cloudpivot.ext.dto.kingDee.result;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "金蝶返回结果——错误数据")
public class ErrorData {

    @JsonProperty("FieldName")
    @Schema(description = "FieldName")
    private String fieldName;

    @JsonProperty("Message")
    @Schema(description = "message")
    private String message;

    @JsonProperty("DIndex")
    @Schema(description = "dIndex")
    private int dIndex;

    /* 20210707 新增字段 */
    @JsonProperty("FNumber")
    @Schema(description = "fNumber")
    private int fNumber;
}
